You can switch to the SMTK emulator project dependent using the context menu for project properties (e.g. "Hello Sample" <properties>) and select the emulator platform
and the device e.g. “
Siemens IMP-NG TC65 R2 Wireless Toolkit” and “
IMP_NG_TC65_R2” for TC65 Release 2. See
Figure 32.
Templates for a Siemens MIDlet can be found in the file explorer and under NetBeans IDE 5.0 menu
File → New File... The MIDlet template provides the skeleton of an IMP-NG MIDlet application.
The New File wizard opens. Select category “IMP-NG” and File Type “IMP-NG MIDlet” and press the
Next button for working with this skeleton.
There are three IMP-NG MIDlet sample projects (“HelloSample”, “NetDemo” and “RS232Sample”) included. Each sample project can be selected directly in NetBeans IDE 5.0.
You can open the sample project (e.g. “HelloSample”) using the NetBeans IDE 5.0 menu File → New Project... The
New Project wizard opens. Select Category
Samples → Mobile → IMP-NG and select (e.g. “Hello World Example”). Press the
Next button.

Press the Finish button to end the selection of the sample project.
Please select project properties in the "HelloWorld" project’s context menu and choose the emulator (e.g. "TC65_R3") for the Java debugging session. Otherwise NetBeans 5.x indicates a reference problem, because it does not know, which kind of emulator has to be used!
Ensure that the proper emulator will be used and compile the project as normal. Any output will be shown in the output window in the IDE together with some debugging information of the IDE. The html help files of the SMTK can be accessed directly by pressing Alt+F1.
It is possible to start a debugging session without download of the Java files (*.jad and *.jar) again. The emulator has to be started with an additional parameter “-noload” and downloading of the Java files is suppressed.
If you like to suppress downloading of *.jar and *.jad file, please use the project context menu Properties, select category “Running” and type in “-noload” as extra parameter for the emulator as shown in the following figure:

Keep in mind that you have to remove this emulator option before starting debugging session with download of Java files. The Java files are not updated in the Flash Files System of the module while option “-noload” is set!
The Debugging Console tab of the NetBeans IDE window is selected by default after starting the debugging session.